Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Toolbar setup does not work with 8.5.1
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Customization
Platform: Windows XP client
Release: 8.5.1
Reproducible: Always

Hi, we add our own icon to the Notes client toolbar with a mechanism published by André Guirard in "The View" some years ago, via importing design elements dxl documents, signing agents and so on; we use bookmarks.nsf as a container for our temporary stuff.

Well, unfortunately this mechanism seems to be broken with the Notes Client 8.5.1 - maybe one of the fixes went wrong ?

Here is my "Toolbar setup" code - at least the beginning :
...std::string ServerName;
std::string DatabaseName = "bookmark.nsf";

// Importing the new Dxl Design Elements into the Corresponding Database
STATUS Status = NOERROR;
DebugHandler->Dbg( "I", "importing design element: " + pToolbarIconDxlFileName );
Status = ImportDXLDesignElement( ServerName, DatabaseName, pToolbarIconDxlFileName ); if ( Status != NOERROR ) { return Status; }
DebugHandler->Dbg( "I", "importing design element: " + pToolbarOutlineDxlFileName );
Status = ImportDXLDesignElement( ServerName, DatabaseName, pToolbarOutlineDxlFileName ); if ( Status != NOERROR ) { return Status; }
DebugHandler->Dbg( "I", "importing design element: " + pToolbarTempCopyAgentDxlFileName );
Status = ImportDXLDesignElement( ServerName, DatabaseName, pToolbarTempCopyAgentDxlFileName ); if ( Status != NOERROR ) { return Status; }

// Running the Temporary Lotus Script Copy Agent and Deleting it
DebugHandler->Dbg( "I", "running agent" );
//Status = RunLotusScriptAgent( ServerName, DatabaseName, pToolbarTempCopyAgentName, true ); if ( Status != NOERROR ) { return Status; }
Status = RunLotusScriptAgent( ServerName, DatabaseName, pToolbarTempCopyAgentName, false );
...

RunLotusScriptAgent :
...
Status = OpenDatabase( pServerName, pDatabaseName, DatabaseHandle ); if ( Status != NOERROR ) { return Status; }

// Signing the Lotus Script Agent
DebugHandler->Dbg( "D", "signing the Lotus Script Agent" );
DebugHandler->Dbg( "D", pDatabaseName ); //bookmark.nsf
NOTEID AgentNoteId;
NOTEHANDLE AgentNoteHandle;
HAGENT AgentHandle;
HAGENTCTX AgentContext;
char AgentName[MAXPATH] = {0};
strcat_s( AgentName, sizeof ( AgentName ), pAgentName.c_str() );
DebugHandler->Dbg( "D", AgentName ); //dialtoolbarupdateagent
Status = NIFFindDesignNote ( DatabaseHandle, AgentName, NOTE_CLASS_FILTER, &AgentNoteId );
if ( Status != NOERROR ) { Status = NIFFindPrivateDesignNote ( DatabaseHandle, AgentName, NOTE_CLASS_FILTER, &AgentNoteId ); }

And here I get the message :
"Entry not found in index" which IMHO means, the agent is not there.
But really, it used to, in all other client versions :-(.


Feedback number WEBB7Y3G92 created by ~Evelyn Rehipivitch on 11/23/2009

Status: Open
Comments:

Toolbar setup does not work with 8.... (~Evelyn Rehipiv... 23.Nov.09)
. . I will ask my boss for new hardware... (~Evelyn Rehipiv... 24.Nov.09)
. . The message probably does mean the ... (~Bill Frokimari... 25.Nov.09)
. . . . Toolbar setup does not work with 8.... (~Evelyn Rehipiv... 26.Nov.09)
. . . . urg (~Evelyn Rehipiv... 27.Nov.09)
. . . . . . 1028 (~Evelyn Rehipiv... 30.Nov.09)
. . . . . . . . well, wel (~Evelyn Rehipiv... 1.Dec.09)
. . . . . . . . . . . (~Evelyn Rehipiv... 17.Dec.09)
. . . . . . . . . . . . No problem with basic client (~Evelyn Rehipiv... 29.Jan.10)
. . . . . . . . . . . . . . Agent Not Found from 8.5.1 custom t... (~Umberto Kitook... 26.Jul.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS